package com.lagou.edu.minicat.life;

public abstract class LifecycleBase implements Lifecycle {

    protected abstract void initInternal();

    @Override
    public void init() {
        initInternal();
    }

    @Override
    public void start() {
        startInternal();
    }

    protected abstract void startInternal();
}
